<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
/**
 * View file: left
 *
 * @author luubk
 * @since 10-06-2012 - 00:57:47
 */
?>
<aside id="sidebar" class="column">
    <form class="quick_search" action="<?php echo site_url('apps/search') ?>">
        <input type="text" value="<?php echo $this->input->get('s') ?>" name="s" placeholder="Tìm ứng dụng" required="required" />        
    </form>
    <hr/>    
    <?php foreach ($menu_list as $cls => $data): ?>
        <?php if ($data['display'] == 0) continue; ?>
        <h3><?php echo $data['name'] ?></h3>
        <ul class="toggle">
            <?php foreach ($data['method'] as $func => $f_data): ?>
                <?php if ($f_data['display'] == 0) continue; ?>
                <li class="<?php echo $f_data['icon'] ?>">
                    <a href="<?php echo site_url("$cls/$func") ?>">
                        <?php echo $f_data['name'] ?>
                    </a>
                </li>
            <?php endforeach; ?>
        </ul>
    <?php endforeach; ?>
    <footer>
        <hr />
        <p><strong><?php echo COPY_RIGHT ?></strong></p>
        <p>
            Powered by <a href="http://hoanguyen.info">HoaNguyen</a> | Design by <a href="http://www.medialoot.com">MediaLoot</a>
        </p>
    </footer>
</aside><!-- end of sidebar -->